import Vue from 'vue'
import Router from 'vue-router'

import live from '@/components/live'
import default1 from '@/components/default'
import list2 from '@/components/list'
import details3 from '@/components/details'
import video4 from '@/components/video'
import about5 from '@/components/about'
import camera6 from '@/components/camera'
import makeups7 from '@/components/makeups'
Vue.use(Router);
export default new Router({
  routes: [
    {
      path: '/',
      component: default1,
      mate: { keepAlive: false }
    },
/*    {
      path: '/list/:curState',
      component: list2
    },*/
    {
      path: '/list',
      component: list2
    },
    {
      path: '/details/:cid',

      component: details3
    },
    {
      path: '/video',
      component: video4
    },

    {
      path: '/about',
      component: about5
    },
    {
      path: '/camera',
      component: camera6
    },
    {
      path: '/makeups',
      component: makeups7,
      mate: { keepAlive: false }
    },
    {
      path: '/live',
      component: live
    }
  ]
})
/*   children: [
 {
 path: '/cats/:catID',
 component: catItem
 }
 ]*/
